package com.remoter.monitor.service;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * @author			koko
 * @date 			2017-08-11 09:47:57
 * @description 	类功能说明
 */
public interface IMonitorService {
	
	/**
	 * 获取全部server
	 * @return
	 */
	public JSONObject servers();
	
	/**
	 * 获取全部services
	 * @param protocol
	 * @param host
	 * @param port
	 * @return
	 */
	public JSONObject services();
	
	/**
	 * 返回当前服务列表
	 * @param protocol
	 * @param type
	 * @param bean
	 * @return
	 */
	public JSONArray providerDetail(String protocol,String type,String bean);
	public JSONArray providerDetail(String protocol);
	
	public JSONArray consumerDetail(String protocol,String type,String bean);
	public JSONArray consumerDetail(String protocol);
	
}